namespace Maltose.Data
{
    /// <summary>
    /// 数据库服务类
    /// </summary>
    public class DataService : SqlSugarService
    {


        /// <summary>
        /// 重写数据库访问地址
        /// </summary>
        /// <param name="connectionString"></param>
        public DataService(string connectionString) : base(connectionString) { }

        /// <summary>
        /// 获取数据库访问地址 默认选中Default数据库
        /// </summary>
        /// <param name="dataBase"></param>
        public DataService(DataBase dataBase = DataBase.Default) : base(dataBase)
        {

        }
    }

}
